import request from "@/utils/request.js";
const goods = {
	// 获取商城分类列表
	getGoodsCategory: (data) => request.post("/api/goods/getGoodsCategory",data,{
		noAuth: true
	}),
	// 获取商城商品列表
	getGoodsList: (data) => request.post("/api/goods/getGoods",data,{
		noAuth: true
	}),
	// 获取商城商品详情
	getGoodsDetail: (data) => request.post("/api/goods/getGoodsEdit",data,{
		noAuth: true
	}),
	//商品兑换
	orderConfirm: (data) => request.post("/api/goods/goodsOrderAdd",data),
	//商品购买详情
	getGoodsBuyDetail: (data) => request.post("/api/goods/goodsOrderEdit",data),
}
export default goods;